package com.andlevy.myshiro.service.serviceImpl;

import com.andlevy.myshiro.mapper.UserMapper;
import com.andlevy.myshiro.model.User;
import com.andlevy.myshiro.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    public User findByUserName(String userName) {
        return userMapper.findByUserName(userName);
    }
}
